#if !defined(AFX_TREECOUNTVIEW_H__E35EE1B3_940C_4828_B7B7_0DA1F36D68DC__INCLUDED_)
#define AFX_TREECOUNTVIEW_H__E35EE1B3_940C_4828_B7B7_0DA1F36D68DC__INCLUDED_

#include "SOURCE\ColumnTreeCtrl.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TreeCountView.h : header file
//

#include "ColumnTreeView.h"


/////////////////////////////////////////////////////////////////////////////
// CTreeCountView view

class CTreeCountView : public CColumnTreeView
{
protected:
	CTreeCountView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CTreeCountView)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTreeCountView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CTreeCountView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CTreeCountView)
	afx_msg void OnRclickTreeCtrl(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSearch();
	afx_msg void OnCountYear();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void CountInvestTotal();
	DWORD m_lYear;
	void CountBankTotal();
	void CountbyMonth();
	_CommandPtr m_pCommand;
	CImageList m_imagelist;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TREECOUNTVIEW_H__E35EE1B3_940C_4828_B7B7_0DA1F36D68DC__INCLUDED_)
